<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Bug Tracker</title>
<link rel="STYLESHEET" type="text/css" href="style.css" />
</head>

<body>

<p align="center"><tt class="chtitle1">Bug Tracker Handbook</tt></p>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td width="26%" align="left" valign="bottom">
    <a href="04_using.htm">Prev<br>
    Using Bug Tracker</a></td>
    <td width="46%" valign="bottom">&nbsp;</td>
    <td width="20%" nowrap align="right" valign="bottom">
    <a href="06_about.htm">Next<br>
    About</a></td>
  </tr>
</table>

<hr>

<p><tt class="chtitle1">Chapter 5 Advanced Configuration</tt></p>

<p><tt class="chtitle4">Table of Contents</tt></p>

<blockquote>

<p>5.1 <a href="#5.1">Send reminder email periodically</a></p>

<p>5.2 <a href="#5.2">Localization</a></p>

</blockquote>

<p><a name="5.1"><tt class="chtitle2">5.1 Send reminder email periodically</tt></a></p>

<p>When there are more and more bugs in the project, project developers might 
forget their assignment or bugs. If they don&#39;t visit Bug Tracker frequently and 
check for the bugs, they might miss bugs assigned to them and delay the project 
schedule.</p>

<p>You can configure Bug Tracker to send out reminders periodically to avoid this 
situation. By default, we will pick up all active bugs that have &quot;very high&quot; 
priority and send a reminder to the &quot;assigned to&quot;</p>

<p>If you are running Bug Tracker on UNIX platform, you can edit the /etc/crontab 
and add the following line to send reminder everyday:</p>

<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="600">
  <tr>
    <td width="100%"><pre class="screen">5   4   *   *   *   root  /home/www/bug/crontab/mail_high_priority.php</pre></td>
  </tr>
</table>

<p>The command above will execute /home/www/bug/crontab/mail_high_priority.php 
ervery night. You will have to change the path according to the directory of&nbsp; 
Bug Tracker. This command requires PHP CLI command (So we can run PHP on 
command line rather than from website). If PHP CLI is not available on your 
system, you can change this command to &quot;lynx -dump http://127.0.0.1/bug/crontab/mail_high_priority.php&quot;, 
which means using lynx to connect to the page mail_high_priority.php.</p>

<p>Please note that your should use PHP CLI or local browser to access the 
mail_high_priority.php. Remote access is not allowed.</p>

<p><a name="5.2"><tt class="chtitle2">5.2 Localization</tt></a></p>

<p>Currently, the Bug Tracker only supports English, German, Italian, Chinese 
Traditional, Chinese Simplified, and Polish. However, you may add your own 
language, too. To localize your language, please copy the English string file 
and edit it. Notice that the string file is in UTF-8 format. You would have to 
open it with an editor that 
supports UTF-8. Such as EmEditor, Microsoft Word, UltraEdit 10. Please remember 
to save it as UTF-8, too.</p>

<p>We predefine the following languages in the Bug Tracker:</p>

<table border="1" width="53%">
  <tr>
    <td width="40%" nowrap><b>Language</b></td>
    <td width="22%" align="center" nowrap><b>Abbreviation</b></td>
    <td width="52%" nowrap><b>String file</b></td>
  </tr>
  <tr>
    <td width="40%">Arabic</td>
    <td width="22%" align="center">ar</td>
    <td width="52%">setup/strings/string.ar</td>
  </tr>
  <tr>
    <td width="40%">Chinese Traditional</td>
    <td width="22%" align="center">cht</td>
    <td width="52%">setup/strings/string.cht</td>
  </tr>
  <tr>
    <td width="40%">Chinese Simplified</td>
    <td width="22%" align="center">chs</td>
    <td width="52%">setup/strings/string.chs</td>
  </tr>
  <tr>
    <td width="40%">Czech</td>
    <td width="22%" align="center">cs</td>
    <td width="52%">setup/strings/string.cs</td>
  </tr>
  <tr>
    <td width="40%">Danish</td>
    <td width="22%" align="center">da</td>
    <td width="52%">setup/strings/string.da</td>
  </tr>
  <tr>
    <td width="40%">German</td>
    <td width="22%" align="center">de</td>
    <td width="52%">setup/strings/string.de</td>
  </tr>
  <tr>
    <td width="40%">English</td>
    <td width="22%" align="center">en</td>
    <td width="52%">setup/strings/string.en</td>
  </tr>
  <tr>
    <td width="40%">Spanish</td>
    <td width="22%" align="center">es</td>
    <td width="52%">setup/strings/string.es</td>
  </tr>
  <tr>
    <td width="40%">Finnish</td>
    <td width="22%" align="center">fi</td>
    <td width="52%">setup/strings/string.fi</td>
  </tr>
  <tr>
    <td width="40%">French</td>
    <td width="22%" align="center">fr</td>
    <td width="52%">setup/strings/string.fr</td>
  </tr>
  <tr>
    <td width="40%">Hebrew</td>
    <td width="22%" align="center">he</td>
    <td width="52%">setup/strings/string.he</td>
  </tr>
  <tr>
    <td width="40%">Icelandic</td>
    <td width="22%" align="center">is</td>
    <td width="52%">setup/strings/string.is</td>
  </tr>
  <tr>
    <td width="40%">Italian</td>
    <td width="22%" align="center">it</td>
    <td width="52%">setup/strings/string.it</td>
  </tr>
  <tr>
    <td width="40%">Japanese</td>
    <td width="22%" align="center">ja</td>
    <td width="52%">setup/strings/string.ja</td>
  </tr>
  <tr>
    <td width="40%">Korean</td>
    <td width="22%" align="center">ko</td>
    <td width="52%">setup/strings/string.ko</td>
  </tr>
  <tr>
    <td width="40%">Dutch</td>
    <td width="22%" align="center">nl</td>
    <td width="52%">setup/strings/string.nl</td>
  </tr>
  <tr>
    <td width="40%">Norwegian</td>
    <td width="22%" align="center">no</td>
    <td width="52%">setup/strings/string.no</td>
  </tr>
  <tr>
    <td width="40%">Polish</td>
    <td width="22%" align="center">pl</td>
    <td width="52%">setup/strings/string.pl</td>
  </tr>
  <tr>
    <td width="40%">Portuguese</td>
    <td width="22%" align="center">pt</td>
    <td width="52%">setup/strings/string.pt</td>
  </tr>
  <tr>
    <td width="40%">Russian</td>
    <td width="22%" align="center">ru</td>
    <td width="52%">setup/strings/string.ru</td>
  </tr>
  <tr>
    <td width="40%">Swedish</td>
    <td width="22%" align="center">sv</td>
    <td width="52%">setup/strings/string.sv</td>
  </tr>
  <tr>
    <td width="40%">Slovak</td>
    <td width="22%" align="center">sk</td>
    <td width="52%">setup/strings/string.sk</td>
  </tr>
  <tr>
    <td width="40%">Thai</td>
    <td width="22%" align="center">th</td>
    <td width="52%">setup/strings/string.th</td>
  </tr>
  <tr>
    <td width="40%">Ukrainian</td>
    <td width="22%" align="center">uk</td>
    <td width="52%">setup/strings/string.uk</td>
  </tr>
</table>

<p>If your language is in the table above, you just have to copy English string 
to your language string file and translate into your language.</p>

<p>If your language is not in the table, you would have to edit setup/string.php. 
Just look for the $lang_array and add your language:</p>

<table border="1" width="650">
  <tr>
    <td width="100%"><pre class="screen">/* To add your own string file: */
$lang_array = array(&quot;ar&quot; =&gt; &quot;Arabic&quot;,
	&quot;cht&quot; =&gt; &quot;Chinese Traditional&quot;, 
	&quot;chs&quot; =&gt; &quot;Chinese Simplified&quot;, 
	&quot;cs&quot; =&gt; &quot;Czech&quot;,
	&quot;da&quot; =&gt; &quot;Danish&quot;,
	&quot;de&quot; =&gt; &quot;German&quot;,
	&quot;en&quot; =&gt; &quot;English&quot;, 
	&quot;es&quot; =&gt; &quot;Spanish&quot;, 
	&quot;fi&quot; =&gt; &quot;Finnish&quot;,
	&quot;fr&quot; =&gt; &quot;French&quot;, 
	&quot;he&quot; =&gt; &quot;Hebrew&quot;,
	&quot;is&quot; =&gt; &quot;Icelandic&quot;,
	&quot;it&quot; =&gt; &quot;Italian&quot;,
	&quot;ja&quot; =&gt; &quot;Japanese&quot;, 
	&quot;ko&quot; =&gt; &quot;Korean&quot;,
	&quot;nl&quot; =&gt; &quot;Dutch&quot;,
	&quot;no&quot; =&gt; &quot;Norwegian&quot;,
	&quot;pl&quot; =&gt; &quot;Polish&quot;, 
	&quot;pt&quot; =&gt; &quot;Portuguese&quot;,
	&quot;ru&quot; =&gt; &quot;Russian&quot;, 
	&quot;sv&quot; =&gt; &quot;Swedish&quot;,
	&quot;sk&quot; =&gt; &quot;Slovak&quot;,
	&quot;th&quot; =&gt; &quot;Thai&quot;,
	&quot;uk&quot; =&gt; &quot;Ukrainian&quot;
);</pre></td>
  </tr>
</table>

<p>For example, if you would like to add a string file for Japanese, just copy 
setup/string/string.en to setup/string/string.ja and translate into Japanese. </p>

<p>After finishing the translation, use your browser to connect to
<a href="http://you.domain.com/bug/setup/string.php">
http://your.domain.com/bug/setup/string.php</a>. You might have to change the 
URL according to the location of Bug Tracker.</p>

<p>That&#39;s all. You have a new language now. I would appreciate if you could send 
the translated language file to me. I will put it into native support.</p>

<hr>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
  <tr>
    <td width="25%" valign="top"><a href="04_using.htm">Prev<br>
    Using Bug Tracker</a></td>
    <td width="55%" valign="top">
    <p align="center"><a href="index.htm">Index</a><br>
    This document can be downloaded from 
    <a href="http://www.twbsd.org">http://www.twbsd.org</a>. </td>
    <td width="20%" nowrap align="right" valign="top">
    <a href="06_about.htm">Next<br>
    About</a></td>
  </tr>
</table>

</body>

</html>